@import "../common/base.less";

body {
  font-size: 16px;
  color: #1e1f20;
  max-width: 680px;
  transform: scale(1.5);
  transform-origin: 0 0;
}

.container {
  width: 680px;
  padding: 20px 10px;
  background-color: #f5f1eb;
  position: relative;
}

.base_info {
  display: flex;
  position: relative;
  margin-bottom: 9px;
  color: #504c49;
  font-size: 24px;
  padding: 0 10px;
}

.base_info .id {
  flex: 1;
  line-height: 18px;
  padding-left: 10px;
}

.base_info .id:before {
  content: " ";
  position: absolute;
  width: 5px;
  height: 24px;
  border-radius: 1px;
  left: 10px;
  top: -3px;
  background: #d3bc8d;
}

.base_info .day {
  line-height: 18px;
}

.city-cont {
  background: #fffa;
  box-shadow: 1px 1px 5px 0 #aaaa, 0 0 1px 0 #504c49;
  border-radius: 20px;
  margin: 15px 5px 15px 0;
}

.cont-title {
  display: flex;
  margin: 0 0 5px 0;
  padding: 0 10px;
  position: relative;
  background: #d3bc8d75;
  border-radius: 20px 20px 0 0;
  flex-flow: row nowrap;
  justify-content: space-between;
  overflow: visible;
  border-bottom: 1px solid #504c4922;

  .area {
    position: relative;
    display: flex;
  }
}

.tab-line {
  position: absolute;
  bottom: 0;
  left: 2%;
  z-index: 1;
  height: 1px;
  background: #eae4db;
  width: 96%;
}


.tab-item-icon {
  width: 36px;
  height: 36px;
  background: #c3b6aa;
  z-index: 2;
  margin: 7px 10px 7px 7px;
  border-radius: 50%;
}

.tab-item-left {
  background: url();
  background-size: 80px 50px;
  height: 50px;
  width: 80px;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
}

.tab-item-middle {
  z-index: 0;
  height: 50px;
  background-image: url();
  background-repeat: repeat-x;
  background-size: contain;
  position: absolute;
  left: 40px;
  right: 40px;
  width: auto;
}

.tab-item-right {
  background: url();
  background-size: 80px 50px;
  height: 50px;
  width: 80px;
  z-index: 1;
  position: absolute;
  right: 0;
  top: 0;
}

.tab-item-text {
  position: relative;
  z-index: 2;
  color: #504c49;
  font-weight: 700;
  font-size: 26px;
  height: 50px;
  line-height: 50px;
}

.ele_box {
  display: flex;
}

.ele_box .ele_name {
  font-size: 22px;
  color: #504c49;
  font-weight: 600;
  line-height: 50px;
  margin-right: 10px;
}

.ele_box .ele_img {
  display: flex;
}

.ele_box .ele_img .img_item {
  width: 40px;
  height: 40px;
  background-image: url(./imgs/item-bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  margin: 5px;

  .icon {
    width: 40px;
    height: 40px;
    margin: 0;
  }
}

.item_box {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}

.item {
  margin: 0px 0 10px 10px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 3px 6px 0 rgb(132 93 90 / 40%);
  width: 95px;
  background: #e9e5dc;
}

.role_box {
  overflow: hidden;
  height: 95px;
  width: 95px;
  position: relative;
  background: #e9e5dc;
}

.role_box .role_img {
  width: 100%;
  overflow: hidden;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  /*filter: contrast(95%);*/
}

.talent {
  height: 25px;
  padding: 3px 3px 1px;
  display: flex;
  justify-content: center;
  font-size: 15px;
  color: #222;
}

.talent-item {
  width: 22px;
  height: 18px;
  line-height: 18px;
  margin: 0 3px;
  text-align: center;
  display: block;
  background-size: contain;
  opacity: 0.8;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);

  &.talent-plus {
    font-weight: bold;
    color: #0284b9;
    box-shadow: 0 0 2px 0 #0008;
  }

  &.talent-crown {
    background: #d3bc8e;
    color: #3a2702;
    box-shadow: 0 0 2px 0 #000;
  }
}

.bg5, .bg4, .bg3, .bg2, .bg1 {
  width: 100%;
  height: 95px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.bg5 {
  background-image: url(../common/item/bg5.png);
}

.bg4 {
  background-image: url(../common/item/bg4.png);
}

.bg3 {
  background-image: url(../common/item/bg3.png);
}

.bg2 {
  background-image: url(../common/item/bg2.png);
}

.bg1 {
  background-image: url(../common/item/bg1.png);
}

.item .text_box {
  font-size: 12px;
  background: #e9e5dc;
  padding: 5px 0px 4px 0px;
  display: flex;
  align-items: flex-start;
}

.item .text_box .weapon_box {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin-left: 3px;
}

.item .text_box .weapon_boder {
  border: 1px solid #d3bc8d;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  overflow: hidden;
}

.item .text_box .weapon_img {
  width: 100%;
  transform: scale(1.2, 1.2);
}

.item .text_box .weapon_name_box {
  margin-left: 3px;
  white-space: nowrap;
}

.item .text_box .weapon_name_box .weapon_level {
  margin-top: 2px;
}

.item .text_box .weapon_affix {
  border-radius: 2px;
  background-color: #ff5722;
  padding: 2px 3px;
  color: #fff;
  display: inline-block;
  transform: scale(0.8);
  transform-origin: 12px 7px;
}

.role_box .fill_img {
  position: absolute;
  width: 15px;
  right: 0;
  bottom: 17px;
}

.role_box .desc {
  font-weight: 500;
  text-align: center;
  line-height: 22px;
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ececec;
  width: 100%;
  height: 22px;
  font-size: 16px;
}

.role_box .role_name {
  /* overflow: hidden; */
  white-space: nowrap;
  margin-top: 5px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  /*margin-top: 5px;*/
}

.role_box .life {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 9;
  font-size: 16px;
  text-align: center;
  color: #fff;
  padding: 1px 3px;
  border-radius: 3px;
}

.life1 {
  background-color: #62a8ea;
}

.life2 {
  background-color: #62a8ea;
}

.life3 {
  background-color: #45b97c;
}

.life4 {
  background-color: #45b97c;
}

.life5 {
  background-color: #ff5722;
}

.life6 {
  background-color: #ff5722;
}

.base_info span {
  margin-left: 5px;
}

.avatar {
  height: 24px;
  width: 24px;
  background-color: #ffb285;
  vertical-align: -5px;
  margin-left: 2px;
  margin-right: 3px;
  border: 1px solid #ffb285;
  border-radius: 100%;
}

.fetter {
  display: inline-block;
  transform: scale(0.8);
}

.explain {
  color: #757c83;
  font-size: 16px;
}

.weapon_box {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  padding: 5px 0 0 6px;
}

.weapon_item {
  width: 68px;
  margin: 5px 6px;
  position: relative;
}

.weapon_role_box {
  overflow: hidden;
  height: 84px;
  border-radius: 5px;
  position: relative;
  /*border: 2px solid #d3bc8d;*/
  background: #e9e5dc;
  box-shadow: 0 2px 6px 0 rgb(132 93 90 / 30%);
}

.weapon_role_box .weapon_role_img {
  width: 68px;
  height: 68px;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: absolute;
  top: 0;
  display: block;
}

.weapon-bg {
  width: 100%;
  height: 70px;
  background-size: 100%;
  background-repeat: no-repeat;
}


.bg5 {
  background-image: url(../common/item/bg5.png);
}

.bg4 {
  background-image: url(../common/item/bg4.png);
}

.bg3 {
  background-image: url(../common/item/bg3.png);
}

.bg2 {
  background-image: url(../common/item/bg2.png);
}

.bg1 {
  background-image: url(../common/item/bg1.png);
}


.weapon_role_box .fill_img {
  position: absolute;
  width: 15px;
  right: 0;
  bottom: 17px;
}

.weapon_role_box .desc_1 {
  font-weight: 500;
  text-align: center;
  line-height: 18px;
  position: absolute;
  bottom: 0;
  background: #e9e5dc;
  width: 100%;
  height: 18px;
  font-size: 14px;
}

.role_name {
  overflow: hidden;
  white-space: nowrap;
  margin-top: 5px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  /*margin-top: 5px;*/
}

.weapon_role_box .life {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 9;
  font-size: 13px;
  text-align: center;
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
}

.life1 {
  background-color: #62a8ea;
}

.life2 {
  background-color: #62a8ea;
}

.life3 {
  background-color: #62a8ea;
}

.life4 {
  background-color: #ff5722;
}

.life5 {
  background-color: #ff5722;
}

.weapon_user {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 9;
  font-size: 12px;
  text-align: center;
  color: #fff;
  padding: 1px 3px;
  border-radius: 100%;
  border: 1px solid #fff;
  width: 24px;
  height: 24px;
  background-color: #4e5362;
}

.user_img {
  width: 32px;
  height: 32px;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: -12px;
  right: -5px;
}

.disable {
  position: relative;
  opacity: 0.7;
  filter: grayscale(40%);

  &:after {
    display: none;
    content: "满";
    position: absolute;
    width: 22px;
    height: 16px;
    font-size: 12px;
    top: 50%;
    left: 50%;
    margin: 0 0 0 -15px;
    background: #ff5722;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    line-height: 16px;
  }
}

